    <style include="cr-shared-style settings-shared iron-flex"></style>
<if expr="not is_macosx">
    <settings-toggle-button
        pref="{{prefs.background_mode.enabled}}"
        label="$i18n{backgroundAppsLabel}">
    </settings-toggle-button>
    <div class="hr"></div>
</if>
    <settings-toggle-button id="hardwareAcceleration"
        pref="{{prefs.hardware_acceleration_mode.enabled}}"
        label="$i18n{hardwareAccelerationLabel}">
      <template is="dom-if" if="[[shouldShowRestart_(
          prefs.hardware_acceleration_mode.enabled.value)]]">
        <cr-button on-click="onRestartTap_" slot="more-actions">
          $i18n{restart}
        </cr-button>
      </template>
    </settings-toggle-button>

    <div id="proxy" class="cr-row" on-click="onProxyTap_"
        actionable$="[[isProxyDefault_]]">
      <div class="flex cr-row-text" hidden$="[[!isProxyDefault_]]">
        $i18n{proxySettingsLabel}
      </div>
      <div class="flex cr-row-text"
          hidden$="[[!prefs.proxy.extensionId]]">
        $i18n{proxySettingsExtensionLabel}
      </div>
      <div class="flex cr-row-text"
          hidden$="[[!isProxyEnforcedByPolicy_]]">
        $i18n{proxySettingsPolicyLabel}
      </div>
      <cr-icon-button class="icon-external"
          hidden$="[[!isProxyDefault_]]"
          aria-label="$i18n{proxySettingsLabel}"></cr-icon-button>
      <template is="dom-if" if="[[isProxyEnforcedByPolicy_]]">
        <cr-policy-pref-indicator pref="[[prefs.proxy]]"
            icon-aria-label="$i18n{proxySettingsLabel}">
        </cr-policy-pref-indicator>
      </template>
    </div>
    <template is="dom-if" if="[[prefs.proxy.extensionId]]">
      <div class="cr-row continuation">
        <extension-controlled-indicator class="flex"
            extension-id="[[prefs.proxy.extensionId]]"
            extension-name="[[prefs.proxy.controlledByName]]"
            extension-can-be-disabled="[[prefs.proxy.extensionCanBeDisabled]]"
            on-extension-disable="onExtensionDisable_">
        </extension-controlled-indicator>
      </div>
    </template>
    <if expr="not chromeos_ash">
      <template is="dom-if" if="[[shouldShowRelaunchDialog]]" restamp>
        <relaunch-confirmation-dialog restart-type="[[restartTypeEnum.RESTART]]"
            on-close="onRelaunchDialogClose"></relaunch-confirmation-dialog>
      </template>
    </if>
